hashsum: support --text --tag for GNU compat#10092
Conversation
|
GNU testsuite comparison: |
CodSpeed Performance ReportMerging this PR will improve performance by 3.05%Comparing Summary
Performance Changes
Footnotes
|
|
@RenjiSann Any idea about supporting |
The previous code handled it like a charm, so it shouldn't be too much of a problem |
|
So we just forgot to add Rust native test and GNU is missing the test case? |
|
I guess I forgot it yes 😔 |
|
If we have |
GNU accepts
md5sum --text --tagwhile rejecting--tag --text.It is able to support on
cksumwith clap-based arg management. But difficult to support it onhashsumwithout adding--untaggeddue toclap's bug: clap-rs/clap#4520This PR supports
md5sum --tag --textby adding masked--untaggedand make--textdepends on it. We can add error something lileif needed.